package org.darkforest.merchant.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 404 500 ……
 * Created by Administrator on 2017/2/15.
 */
@Controller
@RequestMapping(value = "error")
public class ErrorController {

    @RequestMapping(value = "/error404")
    public ModelAndView error404(){
        ModelAndView res = new ModelAndView("error/error_404");
        return res;
    }


    @RequestMapping(value = "/error500")
    public ModelAndView error500(){
        ModelAndView res = new ModelAndView("error/error_500");
        return res;
    }

    @RequestMapping(value = "/error400")
    public ModelAndView error400(){
        ModelAndView res = new ModelAndView("error/error_400");
        return res;
    }




}
